//
//  BETechModel.swift
//  BEGlobalOiler
//
//  Created by KKING on 2016/10/13.
//  Copyright © 2016年 Bullseye Energy pte ltd. All rights reserved.
//

import UIKit

class BETechModel: NSObject {
    
    
    /*
     name (string, optional): 工人名称 ,
     statsus (integer, optional): 工作中,闲置,不工作时间 ,
     employeeId (string, optional): 工号 ,
     price (number, optional): 报价 ,
     accountStatus (integer, optional): 用户状态 ,
     peopleId (integer, optional): 人员id ,
     
     officeNo (string, optional): 电话 ,
     cell (string, optional): 手机 ,
     major (string, optional): 专业名称 ,
     id (integer, optional): 工人ID ,
     userId (integer, optional): 用户ID ,
     
     photo (string, optional): 图片 ,
     phone (string, optional): 电话 ,
     mobile (string, optional): 手机 ,
     address (string, optional): 地址
     
     {
     "name": "oukan1234",
     "statsus": 1,
     "employeeId": "3810546478561230849",
     "price": 800,
     "accountStatus": 0,
     "peopleId": "3810546478561230849",
     "officeNo": "123",
     "cell": "18566759511",
     "major": "string",
     "id": "3813065820272197633",
     "userId": "3810546478540259328",
     "photo": "http://img0.dev.betoday.cn/public/o2o/2016/09/26/3813548361139748864.png",
     "phone": "123",
     "mobile": "18566759511",
     "address": "add"
     }
     */
    var name: String?
    
    var statsus: Int = 0
    
    var employeeId: String?
    
    var price: Int = 0
    
    var accountStatus: Int = 0
    
    var peopleId: String?
    
    var officeNo: String?
    
    var cell: String?
    
    var major: String?
    
    var id: String?
    
    var userId: String?
    
    var photo: String?
    
    var phone: String?
    
    var mobile: String?
    
    var address: String?
    
    
    init(dict: [String : AnyObject]) {
        super.init()
        setValuesForKeys(dict)
    }
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {}
    
    override func setValue(_ value: Any?, forKey key: String) {
        return super.setValue(value, forKey: key)
    }
    
    
}
